{extend name='public/content'}

{block name="title"}
	保存用户信息
{/block}

{block name="body"}
<form  action="{:url('editordress')}" method="post" >

	<input type="hidden" name="id" value="{$dress.id}">
		姓名
	<input type="text" name="consignee" value="{$dress.consignee}"><br>
		电话
	<input type="text" name="mobile" value="{$dress.mobile}"><br>

	邮箱
	<input type="text" name="email" value="{$dress.email}"><br>

	国籍
	<input type="text" name="country" value="{$dress.country}"><br>
	邮编
	<input type="text" name="zipcode" value="{$dress.zipcode}"><br>
		
	三级联动
			<div class="citys">
			    <div class="layui-input-inline">
			        <select class="layui-select" name="province"></select>
			    </div>
			    <div class="layui-input-inline">
			        <select class="layui-select" name="city"></select>
			    </div>
			    <div class="layui-input-inline">
			        <select class="layui-select" name="area"></select>
			    </div>
			</div>
			乡镇
	<input type="text" name="twon" value="{$dress.twon}"><br>
	 详细地址
	<input type="text" name="address" value="{$dress.address}"><br>
	<button>保存地址</button>
</form>
{/block}

{block name="script"}
 	<script type="text/javascript">
 		require(['pcasunzips'], function () {
	    /**   // 省市联动
	    *   new PCAS("Province","City")
	    *   new PCAS("Province","City","吉林省")
	    *   new PCAS("Province","City","吉林省","吉林市")
	    *   // 省市地区联动
	    *   new PCAS("Province","City","Area")
	    *   new PCAS("Province","City","Area","吉林省")
	    *   new PCAS("Province","City","Area","吉林省","松原市")
	    *   new PCAS("Province","City","Area","吉林省","松原市","宁江区")
	    *   // 省、市、地区对象取得的值均为实际值。
	    *   // 注：省、市、地区提示信息选项的值为""(空字符串)
	    */
	    // 实例化PCAS插件
	    new PCAS('province', 'city', 'area', '{$dress.province}', '{$dress.city}', '{$dress.area}');
	});
 	</script>
{/block}

{block name="style"}
 <style type="text/css">
 	
 </style>
{/block}